// Lightweight `auto read-more` hack for Blogger using `Textarea` by Taufik Nurrohman
// URL: https://plus.google.com/108949996304093815163/about
//<![CDATA[
var configSummary = {
    thumbnailSize: 100, // Define the post thumbnail size
    summaryLength: 100, // Define the summary length
    noThumbUrl: "http://3.bp.blogspot.com/-vpCFysMEZys/UOEhSGjkfnI/AAAAAAAAFwY/h1wuA5kfEhg/s72-c/grey.png" // `no image` URL
};
function createPostSummary(a,b,c){var text,doc=document,d=configSummary,copyFrom=doc.getElementById(a).value,pasteTo=doc.getElementById(b),postThumbnail=(c==="")?d.noThumbUrl:c;text=copyFrom.replace(/<(.*?)>/g,"").replace(/[\n\r]+/g," ");pasteTo.innerHTML='<img class="post-thumbnail" src="'+postThumbnail.replace(/\/s[0-9]+(\-c)?\//,'/s'+d.thumbnailSize+'-c/')+'" alt="thumbnail" style="width:'+d.thumbnailSize+'px;height:'+d.thumbnailSize+'px;">'+text.substring(0,d.summaryLength)+'&hellip;'}
//]]>